<div class="index-bg">
 
  <div class="weui-flex index-top">
    <div class="weui-flex__item">
      <div class="placeholder lf">
        <img style="height: 3.9375rem;margin-top: 1rem;" src="../../../assets/icons/logo.png" />
      </div>
    </div>
    <div class="weui-flex__item">
      <div class="placeholder rf" >
        <!-- <img style="width: 25px;height:20px;padding-right: 5px" src='../../../../assets/icons/my.png' /> -->
        <a *ngIf='!user' (click)="gologin()">{{'login' | translate}}</a>
        <a *ngIf='user' (click)='onOutsize(true)'>{{user}}</a>
      </div>
    </div>
  </div>
  <div class="img-c" *ngFor="let item of list" (click)='onSel(item)'>
    <img style="width: 100%;height:100%" src="{{item.image}}" alt="">
  </div>

  <div class="fixed-box" *ngIf="dialogShow">
    <div class="pay-sure-box">
        <!-- <i class="icon-close" (click)="onOutsize(false)">╳</i> -->
		<h3>{{'MSG.chickout-msg' | translate}}</h3>
		<div style="display: flex;">
			<button class="btn-primary" (click)="chickOut()">{{'OK' | translate}}</button>
			<button class="btn-default" (click)="cancel()">{{'cancel' | translate}}</button>
		</div>
    </div>
  </div>
</div>

<!-- <weui-infiniteloader (loadmore)="onLoadMore($event)" #comp>
      <Page [ngClass]="'infiniteloader'" [title]="'Infinite Loader'" [subTitle]="'滚动加载'" [spacing]="false"
        [noBottom]="true">
        
        <div class="img-c" *ngFor="let item of list">
          <img style="width: 100%;height:100%" src="{{item.url}}" alt="">
        </div>
  
        <weui-button *ngIf="restartBtn" (click)="restart()">重新开始</weui-button>
      </Page>
    </weui-infiniteloader> -->